package com.cyt.work.site.service;

import com.cyt.base.model.dto.ReturnResult;
import com.cyt.sys.model.po.SysUser;
import com.cyt.sys.service.BaseService;
import com.cyt.work.site.model.po.School;
import com.cyt.work.site.model.vo.SchoolVo;

/**
 * 微官网-学校简介Service层接口类
 *
 * @author rong yuan
 * @date 2019-7-8 18:37:06
 */
public interface SchoolService extends BaseService<School> {

    /**
     * 查询对象
     *
     * @param schoolVo 对象
     * @return SchoolVo
     * @author rong yuan
     * @date 2019-7-8 18:37:06
     */
    SchoolVo selectSchool(SchoolVo schoolVo);

    /**
     * 添加或更新
     *
     * @param schoolVo 参数接受对象
     * @param sysUser  当前用户
     * @return ReturnResult
     * @author rong yuan
     * @date 2019-7-8 18:37:06
     */
    ReturnResult addOrUpdate(SchoolVo schoolVo, SysUser sysUser);
}